package models_sports

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type MatchFavorite struct {
	UserId     int   `json:"user_id"`     // 用户Id
	MatchId    int   `json:"match_id"`    // 赛事Id
	CreateTime int64 `json:"create_time"` // 创建时间
	SportId    int   `json:"sport_id"`    //赛事类别
}

func (m *MatchFavorite) TableName() string {
	return fmt.Sprintf("%smatch_favorite", models.Prefix)
}
